package cn.dengta.webapp.trade.dao;

import cn.dengta.webapp.base.dao.BaseDao;
import cn.dengta.webapp.trade.entity.CashAmountConfig;
import org.apache.ibatis.annotations.Update;

/**
 * 提现金额配置 Mapper 接口
 *
 * @author hsj
 * @since 2024-02-23
 */
public interface CashAmountConfigDao extends BaseDao<CashAmountConfig> {

	@Update("update dt_cash_amount_config set cash_count = cash_count + 1 where id = #{id}")
	int incCount(Long id);
}
